using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InnovaApp.Layers.ResourcesLayer.Properties;
using InnovaApp.Portals.MVC4Portal.Models.ClientFilesGenerationModels;

namespace InnovaApp.Portals.MVC4Portal.Controllers.ClientFilesGenerationControllers
{
    public partial class ScriptsGController : _ClientFilesGenerationControllers_Base
    {
        /// <summary>
        /// GET: /ScriptsG/ContactManagerDynamic.js
        /// </summary>
        /// <returns>ActionResult.</returns>
        public ActionResult LogViewerDynamic(string language)
        {
            LocalizeDynamicScripts(language);
            toReturn.Variables.Add("ControllerName", "LogViewer");
            toReturn.Variables.Add("cap_GridColumn_Level", Resources.View_LogViewer_cap_GridColumn_Level);
            toReturn.Variables.Add("cap_GridColumn_UserName", Resources.View_LogViewer_cap_GridColumn_UserName);
            toReturn.Variables.Add("cap_GridColumn_Message", Resources.View_LogViewer_cap_GridColumn_Message);
            toReturn.Variables.Add("cap_GridColumn_Logger", Resources.View_LogViewer_cap_GridColumn_Logger);
            toReturn.Variables.Add("cap_GridColumn_Properties", Resources.View_LogViewer_cap_GridColumn_Properties);
            toReturn.Variables.Add("cap_GridColumn_Time", Resources.View_LogViewer_cap_GridColumn_Time);

            Response.ContentType = "text/javascript";
            return View(toReturn);
        }
    }
}